package es.ats.codington.festival.domain;

public class People {
	
	private String name;
	private String lastname;
	private String dni;
	private String mail;
	private int phone;
	private String address;
	private int iDpeople;
	
	//Constructors
	

	/**
	 * @param name
	 * @param lastname
	 * @param dni
	 * @param mail
	 * @param phone
	 * @param address
	 */
	public People(String name, String lastname, String dni, String mail,
			int phone, String address, int iDpeople) {
		super();
		this.name = name;
		this.lastname = lastname;
		this.dni = dni;
		this.mail = mail;
		this.phone = phone;
		this.address = address;
		this.iDpeople = iDpeople;
	}

	public People(String name, String lastname, String dni, String mail,
			int phone, String address) {
		super();
		this.name = name;
		this.lastname = lastname;
		this.dni = dni;
		this.mail = mail;
		this.phone = phone;
		this.address = address;
	}
	
	/**
	 * Default Constructor
	 */
	public People() {
		
	}


	//Getters and Setters

	/** This method obtain the name
	 * @return name
	 */
	public String getName() {
		return name;
	}

	
	/** This method changes the name
	 * @param name
	 */
	public void setName(String name) {
		this.name = name;
	}

	/** This method obtain the lastname
	 * @return lastname
	 */
	public String getLastname() {
		return lastname;
	}

	/** This method changes the lastname
	 * @param lastname
	 */
	public void setLastname(String lastname) {
		this.lastname = lastname;
	}

	/** This method obtain the dni
	 * @return dni
	 */
	public String getDni() {
		return dni;
	}

	/** This method changes the dni
	 * @param dni
	 */
	public void setDni(String dni) {
		this.dni = dni;
	}

	/** This method obtain the mail
	 * @return mail
	 */
	public String getMail() {
		return mail;
	}

	/** This method changes the mail
	 * @param mail
	 */
	public void setMail(String mail) {
		this.mail = mail;
	}

	/** This method obtain the phone
	 * @return phone
	 */
	public int getPhone() {
		return phone;
	}

	/** This method changes the phone
	 * @param phone
	 */
	public void setPhone(int phone) {
		this.phone = phone;
	}

	/** This method obtain the address
	 * @return address
	 */
	public String getAddress() {
		return address;
	}

	/** This method changes the address
	 * @param address
	 */
	public void setAddress(String address) {
		this.address = address;
	}


	/**
	 * @return the iDpeople
	 */
	public int getiDpeople() {
		return iDpeople;
	}


	/**
	 * @param iDpeople the iDpeople to set
	 */
	public void setiDpeople(int iDpeople) {
		this.iDpeople = iDpeople;
	}

}
